.card-container {
  position: relative;
  max-width: 24rem;
  margin: 0 auto 2.5rem;
  background: linear-gradient(to right, #2563eb, #14b8a6);
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  overflow: hidden;

  @media (min-width: 768px) {
    max-width: 32rem;
  }

  .card {
    display: flex;

    .card-content, .card-actions {
      padding: 2rem;
      flex: 1;
    }

    .card-content {
      .card-title {
        margin-top: 0.25rem;
        font-size: 1.5rem;
        line-height: 2rem;
        font-weight: 600;
        color: #ffffff;
        transition: color 0.3s ease-in-out;

        &:hover {
          color: #d1d5db;
        }
      }

      .card-details {
        margin-top: 1rem;

        .card-item {
          display: flex;
          align-items: center;
          font-size: 1.125rem;
          color: #f3f4f6;
          margin-top: 0.5rem;

          .icon {
            margin-right: 0.5rem;
          }

          .card-highlight {
            font-weight: 700;
            margin-left: 0.25rem;
            background-color: rgba(255, 255, 255, 0.2);
            border-radius: 9999px;
            padding: 0.25rem 0.5rem;
          }
        }
      }
    }

    .card-actions {
      display: flex;
      align-items: center;
      justify-content: space-between;

      .sign-button {
        cursor: pointer;
        background-color: #f59e0b;
        color: #ffffff;
        font-weight: 700;
        padding: 0.5rem 1rem;
        border-radius: 10px;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        transition: all 0.3s ease-in-out;

        &:hover {
          background-color: #d97706;
        }
      }

      .current-date {
        color: #f3f4f6;
        font-size: 1rem;
        font-weight: 600;
        margin-left: 1rem;
      }
    }
  }

  .refresh-button {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background-color: white;

    &:hover {
      background-color: #e5e7eb;
    }

    color: black;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1), 0px 1px 2px 0px rgba(0, 0, 0, 0.06);
    transition: background-color 0.3s ease-in-out;
    cursor: pointer;
  }

  .user-id-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: bold;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1), 0px 1px 2px 0px rgba(0, 0, 0, 0.06);
  }
}